package com.mephi.oshs.view.impl;

import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Layout;

public class GridLayoutManager {

    public static Layout getGridLayout() {
        return new GridLayout();
    }

    public static GridData getLayoutDataFillHorizontal() {
        return new GridData(GridData.FILL_HORIZONTAL);
    }

    public static GridData getLayoutDataFillVertical() {
        return new GridData(GridData.FILL_VERTICAL);
    }

    public static GridData getLayoutDataFillAll() {
        return new GridData(GridData.FILL_BOTH);
    }
}
